package com.jhl.seckill.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jhl.seckill.entity.User;
import com.jhl.seckill.vo.LoginVo;
import com.jhl.seckill.vo.RespBean;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;


/**
 * <p>
 * 服务类
 * </p>
 *
 * @author JHL
 * @since 2022-04-28
 */
public interface UserService extends IService<User> {
    RespBean doLogin(LoginVo loginVo, HttpServletRequest request, HttpServletResponse response);

    User geUserByCookie(String userTicket, HttpServletRequest request, HttpServletResponse response);

}
